(function(clazz,pid,callback){
	var dat = _("clazz.fun.getSelect")(pid);
	var stname = "";
	if(dat.length!=0){
		for(d in dat){
			if(stname.length!=0){
				stname+=",";
			}
			stname+=dat[d].data["name"]==null?"":dat[d].data["name"];
		}
		stname = "<div style='color:#F0F'>"+stname+"</div>"
		Ext.MessageBox.confirm("删除框","是否要删除?"+stname,function(id){
			if(id=="yes"){
				for(d in dat){
					var msg = Delete("/clazz/"+dat[d].id);
					if(msg!=null){
						if(callback!=null){//回调
							eval(callback)(clazz,pid);
						}
					}
				}
			} 
		});
	}
})